/*
 * Created by JFormDesigner on Thu Oct 27 21:21:27 CST 2022
 */

package com.liyu.ui;

import javax.swing.*;
import java.awt.*;

/**
 * @author destiny
 */
public class ChangeFrame extends JFrame {
    public ChangeFrame() {
        initComponents();
    }

    private void initComponents() {
        // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents  @formatter:off
        panel4 = new JPanel();
        photoPanel = new JPanel();
        photoLabel = new JLabel();
        setPanel = new JPanel();
        setPhotoButton = new JButton();
        setInfoPanel = new JPanel();
        panel7 = new JPanel();
        panel8 = new JPanel();
        infoPanel = new JPanel();
        goodsNameLabel = new JLabel();
        goodsNameTextField = new JTextField();
        priceLabel = new JLabel();
        priceSpinner = new JSpinner();
        label36 = new JLabel();
        numLabel = new JLabel();
        numSpinner = new JSpinner();
        label38 = new JLabel();
        dictLabel = new JLabel();
        label40 = new JLabel();
        label41 = new JLabel();
        dictScrollPane = new JScrollPane();
        dictEditorPane = new JEditorPane();
        label43 = new JLabel();
        addButton = new JButton();
        label44 = new JLabel();
        returnButton = new JButton();
        menuBar = new JMenuBar();
        selfMenu = new JMenu();
        menuItem1 = new JMenuItem();
        menuItem2 = new JMenuItem();
        menuItem6 = new JMenuItem();
        helpMenu = new JMenu();
        menuItem3 = new JMenuItem();
        menuItem4 = new JMenuItem();
        masterMenu = new JMenu();
        menuItem5 = new JMenuItem();
        menuItem7 = new JMenuItem();

        //======== this ========
        Container contentPane = getContentPane();
        contentPane.setLayout(new BorderLayout());

        //======== panel4 ========
        {
            panel4.setLayout(new BorderLayout());

            //======== photoPanel ========
            {
                photoPanel.setLayout(new BorderLayout());

                //---- photoLabel ----
                photoLabel.setPreferredSize(new Dimension(200, 200));
                photoLabel.setIcon(new ImageIcon("C:\\Users\\Administrator\\Desktop\\001\u5999\u86d9\u79cd\u5b50.png"));
                photoPanel.add(photoLabel, BorderLayout.NORTH);

                //======== setPanel ========
                {
                    setPanel.setLayout(new FlowLayout());

                    //---- setPhotoButton ----
                    setPhotoButton.setText("\u8bbe\u7f6e\u56fe\u7247");
                    setPanel.add(setPhotoButton);
                }
                photoPanel.add(setPanel, BorderLayout.CENTER);
            }
            panel4.add(photoPanel, BorderLayout.WEST);

            //======== setInfoPanel ========
            {
                setInfoPanel.setLayout(new BorderLayout());

                //======== panel7 ========
                {
                    panel7.setPreferredSize(new Dimension(0, 50));
                    panel7.setLayout(new BorderLayout());
                }
                setInfoPanel.add(panel7, BorderLayout.NORTH);

                //======== panel8 ========
                {
                    panel8.setLayout(new BorderLayout());
                }
                setInfoPanel.add(panel8, BorderLayout.SOUTH);

                //======== infoPanel ========
                {
                    infoPanel.setLayout(new FlowLayout(FlowLayout.LEFT));

                    //---- goodsNameLabel ----
                    goodsNameLabel.setText("\u5546\u54c1\u540d\uff1a");
                    goodsNameLabel.setPreferredSize(new Dimension(60, 17));
                    infoPanel.add(goodsNameLabel);

                    //---- goodsNameTextField ----
                    goodsNameTextField.setPreferredSize(new Dimension(200, 30));
                    infoPanel.add(goodsNameTextField);

                    //---- priceLabel ----
                    priceLabel.setText("\u5546\u54c1\u552e\u4ef7\uff1a");
                    infoPanel.add(priceLabel);
                    infoPanel.add(priceSpinner);

                    //---- label36 ----
                    label36.setPreferredSize(new Dimension(107, 17));
                    infoPanel.add(label36);

                    //---- numLabel ----
                    numLabel.setText("\u5546\u54c1\u6570\u91cf\uff1a");
                    infoPanel.add(numLabel);
                    infoPanel.add(numSpinner);

                    //---- label38 ----
                    label38.setPreferredSize(new Dimension(107, 17));
                    infoPanel.add(label38);

                    //---- dictLabel ----
                    dictLabel.setText("\u5546\u54c1\u63cf\u8ff0\uff1a");
                    infoPanel.add(dictLabel);

                    //---- label40 ----
                    label40.setText("                                                               ");
                    label40.setPreferredSize(new Dimension(200, 17));
                    infoPanel.add(label40);

                    //---- label41 ----
                    label41.setText("                  ");
                    label41.setPreferredSize(new Dimension(60, 17));
                    infoPanel.add(label41);

                    //======== dictScrollPane ========
                    {

                        //---- dictEditorPane ----
                        dictEditorPane.setPreferredSize(new Dimension(196, 100));
                        dictScrollPane.setViewportView(dictEditorPane);
                    }
                    infoPanel.add(dictScrollPane);

                    //---- label43 ----
                    label43.setText("                                                                                   ");
                    label43.setPreferredSize(new Dimension(267, 50));
                    infoPanel.add(label43);

                    //---- addButton ----
                    addButton.setText("\u786e\u5b9a\u6dfb\u52a0");
                    infoPanel.add(addButton);

                    //---- label44 ----
                    label44.setPreferredSize(new Dimension(100, 17));
                    infoPanel.add(label44);

                    //---- returnButton ----
                    returnButton.setText("\u53d6\u6d88");
                    returnButton.setPreferredSize(new Dimension(82, 30));
                    infoPanel.add(returnButton);
                }
                setInfoPanel.add(infoPanel, BorderLayout.CENTER);
            }
            panel4.add(setInfoPanel, BorderLayout.CENTER);
        }
        contentPane.add(panel4, BorderLayout.CENTER);

        //======== menuBar ========
        {

            //======== selfMenu ========
            {
                selfMenu.setText("\u6211\u7684");

                //---- menuItem1 ----
                menuItem1.setText("\u4e2a\u4eba\u4fe1\u606f\u7ba1\u7406>");
                selfMenu.add(menuItem1);

                //---- menuItem2 ----
                menuItem2.setText("\u4e2a\u4eba\u5546\u54c1\u7ba1\u7406>");
                selfMenu.add(menuItem2);

                //---- menuItem6 ----
                menuItem6.setText("\u5546\u54c1\u6d4f\u89c8>");
                menuItem6.setEnabled(false);
                selfMenu.add(menuItem6);
            }
            menuBar.add(selfMenu);

            //======== helpMenu ========
            {
                helpMenu.setText("\u5e2e\u52a9");

                //---- menuItem3 ----
                menuItem3.setText("\u83b7\u53d6\u66f4\u65b0");
                helpMenu.add(menuItem3);

                //---- menuItem4 ----
                menuItem4.setText("\u4f7f\u7528\u8bf4\u660e");
                helpMenu.add(menuItem4);
            }
            menuBar.add(helpMenu);

            //======== masterMenu ========
            {
                masterMenu.setText("\u7ba1\u7406");

                //---- menuItem5 ----
                menuItem5.setText("\u524d\u5f80\u7ba1\u7406\u5458\u754c\u9762>");
                masterMenu.add(menuItem5);

                //---- menuItem7 ----
                menuItem7.setText("\u524d\u5f80\u7528\u6237\u754c\u9762>");
                masterMenu.add(menuItem7);
            }
            menuBar.add(masterMenu);
        }
        contentPane.add(menuBar, BorderLayout.NORTH);
        setSize(500, 465);
        setLocationRelativeTo(getOwner());
        // JFormDesigner - End of component initialization  //GEN-END:initComponents  @formatter:on
    }

    // JFormDesigner - Variables declaration - DO NOT MODIFY  //GEN-BEGIN:variables  @formatter:off
    private JPanel panel4;
    private JPanel photoPanel;
    private JLabel photoLabel;
    private JPanel setPanel;
    private JButton setPhotoButton;
    private JPanel setInfoPanel;
    private JPanel panel7;
    private JPanel panel8;
    private JPanel infoPanel;
    private JLabel goodsNameLabel;
    private JTextField goodsNameTextField;
    private JLabel priceLabel;
    private JSpinner priceSpinner;
    private JLabel label36;
    private JLabel numLabel;
    private JSpinner numSpinner;
    private JLabel label38;
    private JLabel dictLabel;
    private JLabel label40;
    private JLabel label41;
    private JScrollPane dictScrollPane;
    private JEditorPane dictEditorPane;
    private JLabel label43;
    private JButton addButton;
    private JLabel label44;
    private JButton returnButton;
    private JMenuBar menuBar;
    private JMenu selfMenu;
    private JMenuItem menuItem1;
    private JMenuItem menuItem2;
    private JMenuItem menuItem6;
    private JMenu helpMenu;
    private JMenuItem menuItem3;
    private JMenuItem menuItem4;
    private JMenu masterMenu;
    private JMenuItem menuItem5;
    private JMenuItem menuItem7;
    // JFormDesigner - End of variables declaration  //GEN-END:variables  @formatter:on
}

